Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add genereate metrics cmd #518

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Conversation

tashima42
Copy link
Contributor

Add a command to get simplified metrics for rancher.

This command assumes that you have the data from the GitHub API locally on JSON files, but the real work is done in a package, that could receive the data from anywhere.

curl -fsL https://github.com/tashima42/rancher-releases-recap/raw/refs/heads/main/data/rancher-releases.json -o rancher-releases.json
curl -fsL https://github.com/tashima42/rancher-releases-recap/raw/refs/heads/main/data/rancher-workflows.json -o rancher-workflows.json
curl -fsL https://github.com/tashima42/rancher-releases-recap/raw/refs/heads/main/data/rancher-prime-releases.json -o rancher-prime-releases.json
release generate rancher metrics -r ./rancher-releases.json -p rancher-prime-releases.json -w rancher-workflows.json

@tashima42 tashima42 self-assigned this Dec 13, 2024
@tashima42 tashima42 requested a review from briandowns December 13, 2024 21:15
@tashima42 tashima42 merged commit 4e3deeb into rancher:master Dec 13, 2024
1 check passed
@tashima42 tashima42 deleted the github-metrics branch December 13, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants